<template>
  <div>
    <h4>康复方案</h4>
    <el-row type="flex" justify="space-around">
      <el-col>
        <span>康复方案</span>
        <div class="grid-content">
          <el-checkbox-group v-model="pgForm.kangffa">
            <el-checkbox
              v-for="item in kangffa"
              :value=item.val
              :label="item.val">
              {{ item.val }}
            </el-checkbox>
          </el-checkbox-group>
          <el-input v-model="pgForm.kangffa_remark" placeholder="备注" style="width: 50%"></el-input>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "xfzzkfpgb_kangffa",
  title: "康复方案",
  created() {
    if (this.istrans) {
      this.pgForm = this.fromdata
    }
  },
  props: {
    fromdata: {},
    istrans: false,
  },
  data() {
    return {
      //康复方案
      kangffa: [{"val":"体位管理","text":""},
        {"val":"嗅气训练","text":""},
        {"val":"被动活动","text":""},
        {"val":"腹式呼吸","text":""},
        {"val":"神经生理促进手法","text":""},
        {"val":"咳嗽训练","text":""},
        {"val":"背部叩拍 ","text":""},
        {"val":"主动循环呼吸技术","text":""},
        {"val":"机械振动排痰","text":""},
        {"val":"发音训练","text":""},
        {"val":"膈肌起搏器","text":""},
        {"val":"激励式肺量计","text":""},
        {"val":"辅助呼吸肌放松","text":""},
        {"val":"主动活动","text":""},
        {"val":"床旁蹬车","text":""},
        {"val":"电子生物反馈","text":""},
        {"val":"气压","text":""},
        {"val":"其他","text":""}],
      pgForm: {
        //康复方案
        kangffa: [],
        kangffa_remark: '',
      },
    }
  },
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-checkbox-group{
  padding: 10px 20px;
}
.el-checkbox{
  display: block;
  margin-bottom: 15px;
}

</style>
